package com.tcm.logistics.dao.mapper;
import com.tcm.logistics.entity.LogisticsRegion;

import java.util.List;

public interface LogisticsRegionMapper {
    int deleteByKey(Long id);

    int deleteLogicByKey(Long id);

    int deleteByFreight(Long freightId);

    int deleteLogicByFreight(Long freightId);

    int insert(LogisticsRegion record);

    int updateByKey(LogisticsRegion record);

    List<LogisticsRegion> listLogisticsRegion(Long freightId);
}